package com.bytezero.login_test.bean;

/**
 * @author Bytezero_zhenglei!
 * @package com.bytezero.login_test.bean
 * @fileName
 * @data 2022/1/27 15:47
 * @description
 * @TODO
 * @email 420498246@qq.com
 */
public class BaseBean <T>{

    private int code;
    private String message;
    private T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaseBean{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
